﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="permissions.aspx.cs" Inherits="HYSoft.Web.permissions" %>

<%@ Register Src="~/Controls/menu.ascx" TagName="Menus" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <title>地质灾害物联网监测系统远程控制平台</title>
  <style type="text/css">
      .main
      {
          color:Black;
          font-size:12px;
          text-decoration:none;
          width:1140px;
          height:auto;
          background-color:White;
          margin-left:auto;
          margin-right:auto;
      }
      .middle
      {
          width:790px;
          margin-left:auto;
          margin-right:auto;
      }
      .middle table
      {
          border:1px solid #b1b1b1;
      }
  </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
<uc3:Menus ID="menus" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
 <div class="main">
       <div>
            <img src="Images/top.PNG" /></div>
            <div class="middle">
       <table style="width: 724px; height: 374px; text-decoration:none;">
                <tr><strong>权限管理：作为已注册单位用户，在此您可以对本单位已注册的普通用户进行审批和修改读写权限！</strong></tr>
                 <tr>&nbsp;</tr>
                    <tr>
                        <td style="width: 400px; text-align: right; background-color: #eeeeee;">
                        <strong>用户名</strong>：</td>
                        <td style="width: 250px; text-align: left;">
                            <asp:DropDownList ID="DropDownList4" runat="server" AutoPostBack= "true">                        
                            </asp:DropDownList>&nbsp;<b style="color: Red;">*</b></td>
                    </tr>
                    
                   <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate> 
                    <tr>
                        <td style="width: 400px; text-align: right; background-color: #eeeeee;">
                        <strong>单位：</strong></td>
                        <td style="width: 250px; text-align: left;">
                            <%#Eval("unit").ToString()%><b style="color: red">*</b>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 250px; text-align: right; background-color: #eeeeee;">
                            通信地址：</td>
                        <td style="width: 250px; text-align: left;">
                            <%#Eval("addr").ToString()%>
                            </td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            邮编：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("Postcode").ToString()%>
                            </td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            所在区：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("m_area_name").ToString()%>
                            <b style="color: red">*</b></td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            所在县：</td>
                        <td style="width: 500px; text-align: left;">
                             <%#Eval("m_area_id").ToString()%>
                            <b style="color: red">*</b></td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            联系人姓名：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("Name").ToString()%>
                            <b style="color: red">*</b></td>
                    </tr>
                    <tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                           手机：</td>
                        <td style="width: 500px; text-align: left;">
                             <%#Eval("Mobile").ToString()%>
                            <b style="color: red">*</b></td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            座机：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("Telephone").ToString()%>
                           </td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            传真：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("Fax").ToString()%>
                           </td>
                    </tr>
					<tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            邮箱：</td>
                        <td style="width: 500px; text-align: left;">
                            <%#Eval("Email").ToString()%>
                            </td>
                    </tr>
                                </ItemTemplate>
                                </asp:Repeater>
                    <tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                            用户类别：</td>
                        <td style="width: 500px; text-align: left;">
                            <asp:Label ID="Label11" runat="server" Text="普通用户"></asp:Label><b style="color: red">*</b></td>
                    </tr>
                    <tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        <strong>读写权限：</strong></td>
                        <td style="width: 500px; text-align: left;">
                            <asp:DropDownList ID="DropDownList1" runat="server">
                            
                                <asp:ListItem Value="0" >只读</asp:ListItem> 
                                <asp:ListItem Value="1" >读写</asp:ListItem>                        
                            </asp:DropDownList><b style="color: red">*</b></td>
                    </tr>
                    <tr>
                        <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                        <strong>审核类型：</strong></td>
                        <td style="width: 500px; text-align: left;">
                            <asp:DropDownList ID="DropDownList2" runat="server">
                            
                                <asp:ListItem Value="0" >未审核</asp:ListItem> 
                                <asp:ListItem Value="1" >已审核</asp:ListItem>                        
                            </asp:DropDownList><b style="color: red">*</b></td>
                    </tr>
           <tr><td colspan="2" align="center"><asp:Button ID="Button1" runat="server" Text="更新修改" OnClick="Button1_Click" /> &nbsp; &nbsp; &nbsp; <asp:Button ID="Button2" runat="server" Text="放弃修改" OnClick="Button2_Click" /></td></tr></table>
           </div>
           <div style=" width:100%; height:200px;"></div>
            </div>
</asp:Content>
